package com.bdult.vh.dao;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.bdult.vh.vo.ItemVO;

@Repository
public class EventDAO implements CommonDAO {
	@Autowired
	private SqlSessionTemplate sqlSessionTemplate;
	
	public ArrayList<HashMap<String,Object>> getEventList() {
		return (ArrayList<HashMap<String,Object>>)sqlSessionTemplate.selectList("getEventList");
	}
	
	public ArrayList<HashMap<String,String>> getShowTimeList() {
		return (ArrayList<HashMap<String,String>>)sqlSessionTemplate.selectList("getShowTimeList");
	}
}
